// 广告
.banner {
    box-sizing: border-box;
    padding: 0 20em;
    background-color: #2b80d9;

    img {
        width: 100%;
    }
}

// 引擎
.engine {
    background-color: #fbfaf7;
    box-sizing: border-box;
    padding-top: 83px;

    // 引擎容器
    .engine-box {
        width: 80%;
        margin: 0 auto;
        display: flex;
        flex-wrap: nowrap;

        // 左边
        .left {
            width: 60%;

            // 产品标题
            .title {
                font-size: 45px;
                color: #0078d7;
                font-family: 'OSBold';
                box-sizing: border-box;
            }

            // 小标题
            .small-title {
                font-size: 28px;
                color: #666;
                box-sizing: border-box;
                padding-top: 32px;
                padding-bottom: 60px;
            }

            // 产品
            .item {
                display: flex;
                flex-wrap: wrap;

                .item-box {
                    width: 50%;
                    display: flex;
                    box-sizing: border-box;
                    padding-bottom: 40px;

                    .item-left {
                        background-color: #0078d7;
                        border-radius: 4px;
                        overflow: hidden;
                        width: 20%;

                        img {
                            width: 100%;
                            height: 100%;
                        }
                    }

                    .item-right {
                        width: 60%;
                        margin-left: 15px;

                        .item-title {
                            font-size: 18px;
                            color: #333;
                        }

                        .item-smalltitle {
                            color: #666;
                        }
                    }
                }
            }
        }

    }
}

// 优势
.superiority {
    background-color: #fff;
    box-sizing: border-box;
    padding-top: 94px;
    padding-bottom: 80px;

    .superiority-box {
        width: 80%;
        margin: 0 auto;
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;

        .left {
            box-sizing: border-box;
            padding-top: 56px;
        }

        .right {
            width: 62%;
            box-sizing: border-box;

            .title {
                font-size: 40px;
                color: #8fc31f;
                box-sizing: border-box;
                padding-bottom: 32px;
            }

            .list {
                display: flex;
                box-sizing: border-box;
                padding-bottom: 16px;

                .img {
                    width: 50px;
                    height: 50px;
                    border-radius: 50%;
                    background-color: #8fc31f;
                    text-align: center;
                    line-height: 47px;
                }

                .about {
                    color: #666;
                    margin-left: 12px;
                    line-height: 50px;
                }
            }
        }
    }
}

// 家族产品
.family {
    background-color: #0079d7;
    box-sizing: border-box;
    padding-top: 92px;
    padding-bottom: 55px;

    .family-box {
        width: 80%;
        margin: 0 auto;

        .title {
            text-align: center;
            font-size: 45px;
            color: #fffefe;
            box-sizing: border-box;
            padding-bottom: 64px;
        }

        .item {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;

            .item-box {
                width: 40%;
                display: flex;
                box-sizing: border-box;
                padding-bottom: 60px;

                .item-left {
                    margin: auto 0;
                }

                .item-right {
                    width: 58%;
                    margin-left: 50px;
                    color: #fffefe;

                    .item-title {
                        font-size: 23px;

                    }
                }
            }
        }
    }
}

// 游戏
.game {
    background-color: #fff;
    box-sizing: border-box;
    padding-top: 64px;
    padding-bottom: 8px;

    .game-box {
        width: 80%;
        margin: 0 auto;

        .title {
            display: flex;
            flex-wrap: nowrap;
            justify-content: space-between;
            box-sizing: border-box;
            padding-bottom: 40px;

            .title-left {
                font-size: 30px;
            }

            .title-right {
                margin-right: 20px;
            }
        }

        .about {
            display: flex;

            .left {
                width: 40%;
                cursor: pointer;

                img {
                    width: 100%;
                }
            }

            .right {
                box-sizing: border-box;
                padding-left: 40px;

                .item {
                    text-align: center;
                    box-sizing: border-box;
                    padding-bottom: 34px;

                    img {
                        width: 67px;
                        height: 67px;
                        cursor: pointer;
                    }

                    .item-title {
                        box-sizing: border-box;
                        padding-top: 8px;
                        cursor: pointer;
                    }
                }
            }
        }
    }
}

// 合作伙伴
.partners {
    background-color: #f4f4f4;
    box-sizing: border-box;
    padding-top: 32px;
    padding-bottom: 52px;

    .partners-box {
        width: 80%;
        margin: 0 auto;

        .title {
            font-size: 24px;
            color: #2a2a2a;
            box-sizing: border-box;
            padding-bottom: 25px;

            span {
                font-size: 12px;
                color: #9c9c9c;
            }
        }

        .item {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;

            .item-box {
                width: 17%;
                text-align: center;
                border: 1px solid #ddd;
                border-radius: 4px;
                margin-bottom: 16px;

                img {
                    width: 100%;
                    height: 100%;
                }
            }
        }
    }
}


@media screen and (max-width: 1280px) {
    .engine {
        .engine-box {
            .left {
                width: 77%;
            }
        }
    }

    .family {
        .family-box {
            .item {
                .item-box {
                    width: 48%;
                    .item-right {
                        width: 52%;
                    }
                }
            }
        }
    }

    .game {
        .game-box {
            .about {
                .left {
                    width: 55%;
                    box-sizing: border-box;
                    padding-bottom: 34px;

                    img {
                        height: 90%;
                    }
                }
            }
        }
    }

}

@media screen and (max-width: 1024px) {

    // 引擎
    .engine {
        .engine-box {
            display: block;

            .left {
                width: 100%;

                .item {
                    .item-box {
                        .item-right {
                            width: 55%;
                        }
                    }
                }
            }

            .right {
                display: none;
            }
        }
    }

    // 家族产品
    .family {
        .family-box {
            .item {
                .item-box {
                    .item-right {
                        margin-left: 30px;
                        width: 65%;
                    }
                }
            }
        }
    }

    // 游戏
    .game {
        .game-box {
            .about {
                display: block;

                .left {
                    width: 90%;
                    margin: 0 auto;
                }

                .right {
                    width: 90%;
                    padding-left: 0px;
                    padding-top: 20px;
                }
            }
        }
    }

    
}

@media screen and (max-width: 768px) {
    .banner {
        padding: 0px;
    }

    .engine {
        .engine-box {
            .left {
                .item {
                    display: block;

                    .item-box {
                        width: 100%;

                        .item-left {
                            width: 8%;
                        }

                        .item-right {
                            width: 70%;
                        }
                    }
                }
            }
        }
    }

    .superiority {
        .superiority-box {
            .left {
                padding-top: 120px;
            }

            .right {
                width: 80%;
            }
        }
    }

    .family {
        .family-box {
            .item {
                display: block;

                .item-box {
                    width: 100%;

                    .item-right {
                        margin-left: 30px;
                        width: 100%;
                    }
                }
            }
        }
    }

    
}

@media screen and (max-width: 415px) {
    .engine {
        .engine-box {
            .left {
                .item {
                    .item-box {
                        .item-left {
                            width: 20%;
                        }

                        .item-right {
                            width: 68%;
                        }
                    }

                }
            }
        }
    }

    .superiority {
        padding-top: 50px;

        .superiority-box {
            display: block;

            .left {
                padding-top: 0px;

                img {
                    margin-left: 35px;
                }
            }

            .right {
                width: 100%;

                .list {
                    .img {
                        margin: auto;
                    }

                    .about {
                        line-height: 25px;
                    }
                }
            }
        }
    }

    .family {
        padding-top: 50px;

        .family-box {
            .title {
                font-size: 42px;
                padding-bottom: 40px;
            }

            .item {
                .item-box {
                    padding-bottom: 30px;
                }
            }
        }
    }

    .game {
        .game-box {
            .title {
                align-items: flex-end;
                flex-direction: column;

                .title-right {
                    width: 20%;
                    text-align: center;
                    margin-right: 0px;
                    margin-top: -28px;
                }
            }
        }
    }

    
}

@media screen and (max-width: 376px) {
    .engine {
        padding-top: 40px;
        .engine-box {
            .left {
                .title {
                    font-size: 43px;
                }

                .small-title {
                    font-size: 22px;
                    padding-top: 20px;
                    padding-bottom: 40px;
                }
                .item{
                    .item-box{
                        .item-left{
                            width: 23%;
                        }
                        .item-right{
                            width: 70%;
                        }
                    }
                }
            }
            
        }
    }
    .family{
        .family-box{
            .title{
                font-size: 38px;
            }
        }
    }
}